package cn.kp.learning.dao;

import cn.kp.learning.model.CoreUserOrgRole;
import cn.kp.learning.model.CoreUserOrgRoleExample;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CoreUserOrgRoleDao {
    int countByExample(CoreUserOrgRoleExample example);

    int deleteByExample(CoreUserOrgRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CoreUserOrgRole record);

    int insertSelective(CoreUserOrgRole record);

    List<CoreUserOrgRole> selectByExample(CoreUserOrgRoleExample example);

    CoreUserOrgRole selectByPrimaryKey(HashMap<String,Object> hm);

    int updateByExampleSelective(@Param("record") CoreUserOrgRole record, @Param("example") CoreUserOrgRoleExample example);

    int updateByExample(@Param("record") CoreUserOrgRole record, @Param("example") CoreUserOrgRoleExample example);

    int updateByPrimaryKeySelective(CoreUserOrgRole record);

    int updateByPrimaryKey(CoreUserOrgRole record);
}